import axios from 'axios'

export default {
  url: '/admin/hosp/hospital',

  showDepartments (para) {
    return axios.get(`${this.url}/queryDepartmentByHoscode/${para}`)
  },
  findSchedulePage (currentPage, limit, hoscode, depcode) {
    return axios.get(`${this.url}/findSchedulePage/${currentPage}/${limit}/${hoscode}/${depcode}`)
  },
  showScheduleByWorkDate (hoscode, depcode, workDate) {
    return axios.get(`${this.url}/showScheduleByWorkDate/${hoscode}/${depcode}/${workDate}`)
  }
}